import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store'
import ElementUI from 'element-ui';
import api from './api/api';
import 'element-ui/lib/theme-chalk/index.css';
import './style/index.scss'
import './style/global.scss'
import '@/mock/mock'
import '@/router/permisstion'
import * as echarts from 'echarts'
//引入agGrid样式
import "ag-grid-community/styles/ag-grid.css";
import "ag-grid-community/styles/ag-theme-alpine.css";
Vue.prototype.$echarts = echarts
Vue.use(ElementUI)


Vue.http = Vue.prototype.$http = api;
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
